package com.heatingcharge.entity.unit;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单元表
 * </p>
 *
 * @author devin.jiang
 * @since 2019-07-17
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class ResUnit implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 单元号
     */
    private String num;

    /**
     * 楼栋ID
     */
    private Integer buildId;


}
